/**
 * @Author: 陈瑞鹏
 * @Date:   2022-10-14 17:09:23
 * @Last Modified by:   陈瑞鹏
 * @Last Modified time: 2022-10-15 10:44:16
 */
import mongoose from 'mongoose';
const Schema = mongoose.Schema;
//黑名单ip 表
const BlackIpSchema: mongoose.Schema = new Schema({
  ip: { type: String, display: 'IP', index: true, unique: true },
  desc: { type: String, display: '加入黑名单原因' }
})
const BlackIp = mongoose.model('BlockIp', BlackIpSchema);
export default BlackIp;